package net.hn.hnms.sys.system.api;


import net.hn.hnms.sys.common.core.constant.ServiceNameConstants;
import net.hn.hnms.sys.system.api.domain.SysRole;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Collection;
import java.util.List;

/**
 * 用户服务
 *
 * @author Lion Li
 */
@FeignClient(contextId = "RemoteRoleService", value = ServiceNameConstants.SYSTEM_SERVICE)
public interface RemoteRoleService {

    @GetMapping (value = "remoteRole/getRoleInfoById")
    SysRole selectRoleById(@RequestParam("id") Long id);

}
